$(document).ready(function(){
	//部分模块设置高度
	$('.header').css('height',client().height+25)
	$('.footer').css('height',client().width/1.5)
	
	//顶部插件
	$(".movie").hover3d({
		selector: ".movie__card",
		shine: true,
		sensitivity: 100,
	});
	
	//播放器
	var myVideo=document.getElementById("yinyue"); 
	$('.bofang').attr('class','bofang bol2')
	$('.bofang').click(function(){
		if (myVideo.paused) {
			$('.bofang').attr('class','bofang bol2')
			myVideo.play(); 
		}else{ 
			myVideo.pause();
			$('.bofang').attr('class','bofang bol1')
		}
	})
	$('.music').hover(function(){
		$(this).stop().animate({"left":0},200)
	},function(){
		$(this).stop().animate({"left":-62},200)
	})
	
	//导航
	






	//置顶
	$(window).scroll(function () {
        if ($(window).scrollTop() >= 900) {
            $('.returntop').fadeIn(300);
        } else {
            $('.returntop').fadeOut(300);
        }
    });
    $('.returntop').click(function () {
        $('html,body').animate({scrollTop: '0px'}, 800);
    });


	
});